package org.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.demo.entity.Community;
import org.demo.entity.Message;
import org.demo.entity.MessageDto;

import java.util.List;

public interface IMessageService extends IService<Message> {

    void add(Message message);

    List<MessageDto> list (Message message);

    void update(Message message);

    void delete(String id);
}
